package org.example.library_management_system.Model;


import lombok.Data;

@Data
public class PageRequest {
    private Integer currentPage ;
    private Integer PageSize = 10;
    private Integer offset;

    public Integer getOffset() {
        return (currentPage-1)*PageSize;
    }
}
